package com.cyzy.pojo;


import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;

import java.sql.Timestamp;

@TableName("role_menu")
public class RoleMenu {

  @TableField("admin_id")
  private Integer adminId;
  private Integer competenceId;
  private String roleId;
  private String menuId;
  private String username;
  private String role;
  private Timestamp createTime;
  @TableField("admin_state")
  private Integer adminState;
  private String menuName;
  @TableField("state")
  private Integer state;


  public RoleMenu() {
  }

  public RoleMenu(Integer adminId, Integer competenceId, String roleId, String menuId, String username, String role, Timestamp createTime, Integer adminState, String menuName, Integer state) {
    this.adminId = adminId;
    this.competenceId = competenceId;
    this.roleId = roleId;
    this.menuId = menuId;
    this.username = username;
    this.role = role;
    this.createTime = createTime;
    this.adminState = adminState;
    this.menuName = menuName;
    this.state = state;
  }

  /**
   * 获取
   * @return adminId
   */
  public Integer getAdminId() {
    return adminId;
  }

  /**
   * 设置
   * @param adminId
   */
  public void setAdminId(Integer adminId) {
    this.adminId = adminId;
  }

  /**
   * 获取
   * @return competenceId
   */
  public Integer getCompetenceId() {
    return competenceId;
  }

  /**
   * 设置
   * @param competenceId
   */
  public void setCompetenceId(Integer competenceId) {
    this.competenceId = competenceId;
  }

  /**
   * 获取
   * @return roleId
   */
  public String getRoleId() {
    return roleId;
  }

  /**
   * 设置
   * @param roleId
   */
  public void setRoleId(String roleId) {
    this.roleId = roleId;
  }

  /**
   * 获取
   * @return menuId
   */
  public String getMenuId() {
    return menuId;
  }

  /**
   * 设置
   * @param menuId
   */
  public void setMenuId(String menuId) {
    this.menuId = menuId;
  }

  /**
   * 获取
   * @return username
   */
  public String getUsername() {
    return username;
  }

  /**
   * 设置
   * @param username
   */
  public void setUsername(String username) {
    this.username = username;
  }

  /**
   * 获取
   * @return role
   */
  public String getRole() {
    return role;
  }

  /**
   * 设置
   * @param role
   */
  public void setRole(String role) {
    this.role = role;
  }

  /**
   * 获取
   * @return createTime
   */
  public Timestamp getCreateTime() {
    return createTime;
  }

  /**
   * 设置
   * @param createTime
   */
  public void setCreateTime(Timestamp createTime) {
    this.createTime = createTime;
  }

  /**
   * 获取
   * @return adminState
   */
  public Integer getAdminState() {
    return adminState;
  }

  /**
   * 设置
   * @param adminState
   */
  public void setAdminState(Integer adminState) {
    this.adminState = adminState;
  }

  /**
   * 获取
   * @return menuName
   */
  public String getMenuName() {
    return menuName;
  }

  /**
   * 设置
   * @param menuName
   */
  public void setMenuName(String menuName) {
    this.menuName = menuName;
  }

  /**
   * 获取
   * @return state
   */
  public Integer getState() {
    return state;
  }

  /**
   * 设置
   * @param state
   */
  public void setState(Integer state) {
    this.state = state;
  }

  public String toString() {
    return "RoleMenu{adminId = " + adminId + ", competenceId = " + competenceId + ", roleId = " + roleId + ", menuId = " + menuId + ", username = " + username + ", role = " + role + ", createTime = " + createTime + ", adminState = " + adminState + ", menuName = " + menuName + ", state = " + state + "}";
  }
}
